package com.descartes.mymedia.service;

import com.descartes.mymedia.dao.implementation.ProfilDAOImpl;
import com.descartes.mymedia.dao.interfaces.ProfilDAO;
import com.descartes.mymedia.model.Profil;

public class ProfilServiceImpl implements ProfilService {

	ProfilDAO profilDao; 
	
	public ProfilServiceImpl() {
		this.profilDao = new ProfilDAOImpl();
	}
	public Profil getProfil(String pseudo, String mdp) {
		return profilDao.getProfil(pseudo, mdp);
	}

}
